import request from '@/utils/request'

// 查询商户充值订单列表
export function listStoreAdd(query) {
  return request({
    url: '/storeAdd/storeAdd/list',
    method: 'get',
    params: query
  })
}

// 查询商户充值订单详细
export function getStoreAdd(id) {
  return request({
    url: '/storeAdd/storeAdd/' + id,
    method: 'get'
  })
}

// 新增商户充值订单
export function addStoreAdd(data) {
  return request({
    url: '/storeAdd/storeAdd',
    method: 'post',
    data: data
  })
}

// 修改商户充值订单
export function updateStoreAdd(data) {
  return request({
    url: '/storeAdd/storeAdd',
    method: 'put',
    data: data
  })
}

// 删除商户充值订单
export function delStoreAdd(id) {
  return request({
    url: '/storeAdd/storeAdd/' + id,
    method: 'delete'
  })
}
